<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AddInstance.aspx.cs" Inherits="AddInstance" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table id="TableHeader1" cellpadding="5" cellspacing="0" width="100%"><tr><td bgcolor="#EBE7E7"><table style="width: 100%"><tr><td style="width: 190px">Step 1. Verify Instance</td><td style="text-align: right"><asp:LinkButton ID="btnVerifyInstance" runat="server" onclick="btnVerifyInstance_Click" >Verify Instance</asp:LinkButton></td></tr></table></td></tr></table>
<table cellpadding="0" cellspacing="0" width="100%">
    <tr><td><table id="Table1" width="100%"><tr><td bgcolor="#EBE7E7" style="width: 160px">Instance Name:</td><td><asp:TextBox ID="txtInstanceName" runat="server" Width="235px"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtInstanceName" ErrorMessage="Required" Font-Bold="True" Font-Size="X-Small"></asp:RequiredFieldValidator></td>
            </tr>
        </table>
      </td>
    </tr>
</div>
</table>
<div id=div2 runat=server>
<table id="TableHeader2" cellpadding="5" cellspacing="0" width="100%"><tr><td bgcolor="#EBE7E7"><table style="width: 100%"><tr><td style="width: 190px">Step 2. Instance Details</td><td style="text-align: right"><asp:LinkButton ID="btnAddInstance" runat="server" Enabled="False" OnClick="btnAddInstance_Click" Text="Add Instance" /></td></tr></table></td></tr></table>
<table cellpadding="0" cellspacing="0" width="100%">
    <tr><td><table id="Table2" width="100%"><tr><td bgcolor="#EBE7E7" style="width: 160px">Instance Name:</td><td style="height: 25px">
                                <asp:Label ID="lblInstanceName" runat="server" Font-Bold="True"></asp:Label></td>
                        </tr>
                        <tr>
                            <td bgcolor="#EBE7E7" style="width: 161px">
                                Short Description:</td>
                            <td colspan="1" style="height: 30px">
                                <asp:TextBox ID="txtShortDescription" runat="server" Font-Names="Arial" Width="457px" Enabled="False"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td bgcolor="#EBE7E7" style="width: 161px">
                                Instance Contact EMail:</td>
                            <td colspan="1" style="height: 30px">
                                <asp:TextBox ID="txtInstanceContactEMail" runat="server" Width="350px"></asp:TextBox>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                    ControlToValidate="txtInstanceContactEMail" ErrorMessage="Required" 
                                    Font-Bold="True" Font-Size="X-Small" Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                    ControlToValidate="txtInstanceContactEMail" Display="Dynamic" 
                                    ErrorMessage="Invalid EMail Address" Font-Bold="True" Font-Size="Smaller" 
                                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                            </td>
                        </tr>
                        </table>
                </td>
    </tr>
    </table>
</div>    
</asp:Content>